/* Check liber8tion_coding_bitmatrix(). */
#include <stdio.h>
#include "jerasure.h"
#include "liberation.h"

int main( int argc, char** argv )
{
	int *old_bitmatrix;
	int m = atoi( argv[1] );
	int k = atoi( argv[2] );
	int w = 8;
	
	old_bitmatrix = liber8tion_coding_bitmatrix( k );
	if( old_bitmatrix != NULL )
		jerasure_print_bitmatrix( old_bitmatrix, 2*w, k*w, w );

	return 0;
}
